package org.hxyjs.dao;


import org.hxyjs.entity.UserSchemeRecord;
import org.hxyjs.page.PageInfo;

import java.util.List;

public interface UserSchemeRecordDao {
    public List<UserSchemeRecord>  getAllUserSchemeRecords()  throws Exception;
    public UserSchemeRecord  getUserSchemeRecordByUno(String usrno)  throws Exception;
    public List<UserSchemeRecord> getUserSchemeRecordsByPage(PageInfo pageInfo);
    //增删改的返回值都是整数
    Integer deleteUserSchemeRecord(String usrno)  throws Exception;
    Integer updateUserSchemeRecord(UserSchemeRecord userSchemeRecord)  throws Exception;
    Integer addUserSchemeRecordByUno(UserSchemeRecord userSchemeRecord)  throws Exception;

    UserSchemeRecord getUserSchemeRecordsWithOrders(String usrno)throws Exception;

    UserSchemeRecord getAccountByAccountName(String usrno)throws Exception;



}
